package com.wbihua.common.metrics.metric;

import com.wbihua.common.metrics.type.EventPrometheusSummaryType;

import java.util.function.Consumer;
import java.util.function.Supplier;

public interface EventMeterPrometheusSummary extends EventMeter{
    EventPrometheusSummaryType getCounterType();

    void startTimer(Consumer<Object> saveTimer, String... labelValues);

    void observeDuration(Supplier<Object> timerSupplier);
}
